home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Development Tools & Languages / HyperCard Related / APDA HyperCard Toolkits / HyperCard Video Toolkit 2.0 / HVT #1 / Videodisc Commands / card_4189.txt < prev    next >
Encoding:
Text File  |  1995-02-07  |  2.3 KB  |  59 lines

  1. -- card: 4189 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3170
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10. controlVideo <cmd1,cmd2,cmd3,...>
  11.  
  12. -- part contents for background part 2
  13. ----- text -----
  14. Issue a videodisc control command.
  15.  
  16. -- part contents for background part 3
  17. ----- text -----
  18. cmdn
  19.  
  20. -- part contents for background part 4
  21. ----- text -----
  22. This command handles most of the configuration management for the XCMDs, the player, and the serial port.  It takes a list of keywords, each of which selects some action or configuration:
  23.  
  24. "init" or "reset":  Reset the player, position it to the first frame on the disc, and establish the default settings of both audio channels on, picture on, and frame numbers off.
  25.  
  26. "eject" or "reject":  Spin down the disc and eject it from the player if possible (some players will not eject under program control).
  27.  
  28. "audioOff":  Turn off both audio channels.
  29. "audio1On":  Turn audio channel one on and channel two off.
  30. "audio2On":  Turn audio channel two on and channel one off.
  31. "stereoOn":  Turn both audio channels on.
  32.  
  33. "pictureOn":  Turn on the picture (video output from the player).
  34. "pictureOff":  Turn off the picture.
  35.  
  36. "framesOn": Turn on the frame number display.
  37. "framesOff": Turn off the frame number display.
  38.  
  39. "modemPort" or "port1":  Use the modem port of the Macintosh to communicate with the player.
  40. "printerPort" or "port2":  Use the printer port of the Macintosh.
  41.  
  42. "baud300", "baud600", "baud1200", "baud2400", "baud4800", or 
  43. "baud9600":  Set the baud rate for communicating with the player 
  44. (the default setting is the highest available with that player -- usually 9600).
  45.  
  46. "defaultComm":  Set the default communications parameters for this player, including baud rate, data bits, stop bits, and parity.
  47.  
  48. "frameMode":  Use frame numbers for searchVideo and playVideo. This is the default mode.
  49. "chapterMode":  Use chapter numbers for searchVideo and playVideo.
  50.  
  51. Other:  Anything not recognized by the controlVideo command as a keyword will be passed on to the configureSPort command, which configures the serial port.
  52.  
  53. -- part contents for background part 7
  54. ----- text -----
  55. each of the parameters is a keyword indicating what control action to take or what to set.
  56.  
  57. -- part contents for background part 9
  58. ----- text -----
  59. Command: